package models

import (
	"time"
)

type Shoppingcartitem struct {
	Id int64 `xorm:"oid"`

	Storeid              int       `json:"StoreId" xorm:"not null INTEGER"`
	Shoppingcarttypeid   int       `json:"ShoppingCartTypeId" xorm:"not null INTEGER"`
	Customerid           int       `json:"CustomerId" xorm:"not null INTEGER"`
	Productid            int       `json:"ProductId" xorm:"not null INTEGER"`
	Attributesxml        string    `json:"AttributesXml" xorm:"VARCHAR"`
	Customerenteredprice string    `json:"CustomerEnteredPrice" xorm:"not null NUMERIC"`
	Quantity             int       `json:"Quantity" xorm:"not null INTEGER"`
	Rentalstartdateutc   time.Time `json:"RentalStartDateUtc" xorm:"DATETIME"`
	Rentalenddateutc     time.Time `json:"RentalEndDateUtc" xorm:"DATETIME"`
	Createdonutc         time.Time `json:"CreatedOnUtc" xorm:"not null DATETIME"`
	Updatedonutc         time.Time `json:"UpdatedOnUtc" xorm:"not null DATETIME"`
}
